package FIT::eg::Fixture::NegatedListOfBool;

use FIT::Class;

extends 'FIT::Fixture::Column';

has [qw(list negated)] => (is => 'rw', isa => 'ArrayRefOfBool');

sub compute_negated {
    local $_;
    return [map { !$_ } @{ $self->list }];
}
